﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp6
{
    class Program
    {
        static void Main(string[] args)
        {
            //子类：飞机、小鸟、超人
            //父类：交通工具、动物
            //接口
            Plane plane = new Plane();
            plane.Fly();
            plane.Traffic();
            Bird bird = new Bird();
            bird.Fly1();
            bird.Animal();
            SuperMan superMan = new SuperMan();
            superMan.Fly3();
            superMan.Animal();
        }
    }
}
